home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4116 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: adm.icenet.no!news
  2. From: pettern@icenet.no (Petter Nilsen)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Accessing NUMBER type in GADTOOLS
  5. Date: 14 Feb 96 14:00:58 +0100
  6. Organization: Ultima Thule Software (The THOR Team)
  7. Message-ID: <718.6618T840T2900@icenet.no>
  8. References: <4f6ma8$rd8@celebrian.otago.ac.nz>
  9. NNTP-Posting-Host: ns.icenet.no
  10. X-URL: http://www.icenet.no/~pettern
  11. X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
  12.  
  13.  
  14. In article <4f6ma8$rd8@celebrian.otago.ac.nz>,
  15. peter.ashford@stonebow.otago.ac.nz (Peter Ashford) wrote:
  16. > Could anyone tell me how to access the integer information of a NUMBER
  17. > type GadTools gadget??  I know I should have the RKM's, but I'm poor :)
  18.  
  19. #define GetGadNumber(g) (((struct StringInfo *)g->SpecialInfo)->LongInt)
  20.  
  21.     number = GetGadNumber(gad);
  22.  
  23. ---
  24. \\\\\\  Petter Nilsen - IRC #amiga: Mitchman  -  pettern@icenet.no |\
  25.  >>>>>>============================================================| >
  26. //////    THOR Team Coordinator - http://www.icenet.no/~pettern    |/
  27.  
  28. CPAV Warning:(S)top (C)ontinue (B)urn infected disk
  29.  
  30.